<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>8</title>
	</head>
	<body>
		<script>
			var name=prompt("请输入您的姓名：");
			document.write("欢迎您，"+name+"!");
		</script>
	</body>
</html>
